#!/usr/bin/bash 

function myfun()
{
    cnt=1
    while [ $cnt -le 10 ]
    do 
        echo "hello $cnt"
        let cnt++
    done
}

echo "hello 1"
echo "hello 2"
echo "hello 3"
echo "hello 4"
echo "hello 5"
echo "hello 6"

ls -a -l

myfun
